package com.example.service.statistics.impl;
/*
 *  @ClassName:CoursePrimaryServiceImpl
 *  @Author:WZ
 *  @DateTime:2023/1/30/19:25
 */

import com.example.dao.statistics.CoursePrimaryDao;
import com.example.pojo.Course;
import com.example.service.statistics.CoursePrimaryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class CoursePrimaryServiceImpl implements CoursePrimaryService {
    @Autowired
    private CoursePrimaryDao coursePrimaryDao;
    @Override
    public List<Course> getCoursePrimaryZj7t() {
        return coursePrimaryDao.getCoursePrimaryZj7t();
    }

    @Override
    public List<Course> getCoursePrimaryZj30t() {
        return coursePrimaryDao.getCoursePrimaryZj30t();
    }

    @Override
    public List<Course> getCoursePrimaryZj90t() {
        return coursePrimaryDao.getCoursePrimaryZj90t();
    }

    @Override
    public List<Course> getCoursePrimary() {
        return coursePrimaryDao.getCoursePrimary();
    }

    @Override
    public List<Course> getCoursePrimaryLike(String s1, String s2) {
        return coursePrimaryDao.getCoursePrimaryLike(s1,s2);
    }
}
